
export default {

  namespace: 'rolePermission',

  state: {
    role: {}
  },

  subscriptions: {
    setup({ dispatch, history }) {  // eslint-disable-line
    }
  },

  effects: {
    * deleteDate ({ payload }, { call, put }) {
      yield put({ type: 'update' })
    }
  },

  reducers: {
    save (state, action) {
      return { ...state, ...action.payload }
    }
  }

}
